package cn.tedu.home1ess.admin.content.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class TabooWordsVO implements Serializable {
    @ApiModelProperty("禁忌词id")
    Long id;
    @ApiModelProperty("禁忌词名称")
    String name;

    @ApiModelProperty("类别名称")
    String categoryName;

    @ApiModelProperty("类别id")
    Long categoryId;

    @ApiModelProperty("状态")
    Integer enable;

    @ApiModelProperty("系统级别")
    @NotBlank(message = "系统级别不能为空")
    String  systemLevel;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    Date twctModified;


}
